package com.xinghen.ace.auth;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.bus.jackson.RemoteApplicationEventScan;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.feign.EnableFeignClients;

/**
 * @author xinghen
 * @ClassName: AuthBootstrap
 * @Package: com.xinghen.ace.auth
 * @Description auth 启动类
 * @create 2018/5/4 15:21
 */
@SpringBootApplication
@EnableEurekaClient
@EnableFeignClients
@MapperScan("com.xinghen.ace.auth.mapper")
@RemoteApplicationEventScan(basePackages = "")
@EnableAutoConfiguration
public class AuthBootstrap {

    public static void main(String[] args) {
        SpringApplication.run(AuthBootstrap.class, args);
    }

}
